
package com.amigo.online.provider.manager.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.amigo.online.common.core.mybatis.MyMapper;
import com.amigo.online.provider.manager.model.entity.AdvAreaTbl;
import com.amigo.online.provider.manager.model.entity.AdvNearbyApplyTbl;
import com.amigo.online.provider.manager.model.entity.AdvTanApplyTbl;
import com.amigo.online.provider.manager.result.AdvTanInfo;

/**
 * <code>AdvTanApplyTblMapper.java</code>
 * <p>
 *
 * </p>
 * <p>
 *
 * @author LuChen
 * @version 1.0
 * @company Amigo
 * @time 2018年11月29日 上午11:03:56
 * @lastUpdate 无
 * </p>
 */
@Mapper
public interface AdvTanApplyTblMapper extends MyMapper<AdvTanApplyTbl> {

    AdvTanApplyTbl selectById(@Param("id") Long id);

    int updateById(AdvTanApplyTbl advTanApplyTbl);

    int deletebyId(AdvTanApplyTbl advTanApplyTbl);

    int findTanAdvCount(AdvTanApplyTbl advTanApplyTbl);

    List<AdvNearbyApplyTbl> findTanAdv(AdvTanApplyTbl advTanApplyTbl);

    AdvTanInfo findTanAdvDetailInfo(@Param("id") Long id);

    List<AdvAreaTbl> findTanAdvDetailAreaInfo(@Param("id") Long id);

}

